import React from 'react';
import * as styles from './index.module.less'

export default function Square({value,onSquareClick}) {
    return (
        <button
            className={styles.square}
            onClick={onSquareClick}
        >
            {value}
        </button>
    );
}
